/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-03-08     Hao       the first version
 */
#ifndef HARDWARE_PWM_OPERATE_H_
#define HARDWARE_PWM_OPERATE_H_

#include <rtthread.h>
#include <rtdevice.h>

#ifdef __cplusplus
extern "C"{
#endif

void motor_pwm_set(uint8_t ch, float duty);
void aux_pwm_set(uint8_t ch, float duty);

#ifdef __cplusplus
}
#endif

#endif /* HARDWARE_PWM_OPERATE_H_ */
